<template>
    <ComForm ref="formRef" :format="format"> </ComForm>
    <div class="containerbody">
      <Week v-for="el in weekstring" :number="el"></Week>
    </div>
</template>


<script setup>
import Week from './Week.vue';

let formRef = ref();
let weekstring = ["第一周","第二周","第三周","第四周"]

const format = ref([
  {
    label: "月份",
    prop: "postCode",
    type: "date",
    dateType:"month",
    defaultValue: "",
    span: 5,
  },
  {
    label: "",
    prop: "",
    type: "button",
    btns: [
      { label: "查询", event: "submit"},
      { label: "导出", event: "reset" ,type:"info"},
    ],
    span: 12,
  }
]);

</script>
<style scoped>
.form {
  padding: 20px 20px;
}

.containerbody{
  display: flex;
  flex-direction: row;
  justify-content: space-around;
}
</style>
